import { createApp } from 'vue'
import Router from './router'
import Store from './store'
import App from './App.vue'
import { permission } from "./directives/permission";
import './mockjs'
import '@/assets/css/tailwind.css';
import ArcoVue from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';
import VCalendar from 'v-calendar';
import 'v-calendar/style.css';

// Use plugin with optional defaults
import TreeSelect from '@/views/component/deptSelect.vue';
const app = createApp(App)
app.use(ArcoVue)
app.use(Store);
app.use(Router);
app.use(VCalendar, {})

app.component("TreeSelect", TreeSelect)
app.directive("permission",permission);
app.mount('#app');
